import { ITable } from '@/base-ui';

export const ContentTableConfig: ITable = {
  showIndexColumn: true,
  showSelection: true,
  headTitle: '用户列表',
  propInfo: [
    {
      prop: 'name',
      label: '用户名',
      minWidth: '100',
      slotName: 'name'
    },
    {
      prop: 'realname',
      label: '真实姓名',
      minWidth: '100',
      slotName: 'realname'
    },
    {
      prop: 'cellphone',
      label: '手机号码',
      minWidth: '100',
      slotName: 'cellphone'
    },
    {
      prop: 'status',
      label: '状态',
      minWidth: '100',
      slotName: 'status'
    },
    {
      prop: 'createAt',
      label: '创建时间',
      minWidth: '100',
      slotName: 'createAt'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      minWidth: '100',
      slotName: 'updateAt'
    },
    {
      label: '操作',
      minWidth: '250',
      slotName: 'handler'
    }
  ]
};
